package com.etime.perfectschool.service;

import com.etime.perfectschool.pojo.NewsComments;

import java.util.List;

public interface NewsCommentsService {
    List<NewsComments> getAllNewsComments(int newId);
    //添加评论
    int addNewsComments(NewsComments newsComments);
    //删除评论
    int deleteNewsComments(int newsCommentsId);
    //删除某条新闻的所有评论
    boolean deleteNewsCommentsBynewId(int newsId);
}
